const express = require('express');
const path = require('path');

const app = express();
const port = 3000;

// 设置静态文件目录
app.use('/static', express.static(path.join(__dirname, 'public')));

// 启动服务器
app.listen(port, () => {
  console.log(`Local CDN server running at http://localhost:${port}/`);//http://192.168.2.99:3000/static
});
